import Vue from 'vue'
import Vuex from 'vuex'
import book from './modules/book'
import getters from './getters'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    book
  },
  getters
  // state: {
  //   test: 1
  // },
  // mutations: {
  //   'SET_TEST': (state, newTest) => {
  //     state.test = newTest
  //   }
  // },
  // actions: {
  //   DONG: ({ commit, state }, newTest) => {
  //     commit('SET_TEST', newTest)
  //   }
  // }
})
